From 1d40750a6045c2c03250d5594e30ef3773c9c32a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 11 Jan 2021 16:48:06 -0500 Subject: [PATCH] aboutdialog: Set a style class Add the .aboutdialog style class to toplevel widget of about dialogs, similar to what we do for e.g. GtkAssistant. --- gtk/gtkaboutdialog.c | 6 ++++++ gtk/ui/gtkaboutdialog.ui | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index bff8e76432..4cdee36575 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -101,6 +101,12 @@ * "title", _("About ExampleCode"), * NULL); * ]| + * + * # CSS nodes + * + * GtkAboutDialog has a single CSS node with the name window and style + * class .aboutdialog. + */ typedef struct diff --git a/gtk/ui/gtkaboutdialog.ui b/gtk/ui/gtkaboutdialog.ui index ab5fe44b32..bd69376d6a 100644 --- a/gtk/ui/gtkaboutdialog.ui +++ b/gtk/ui/gtkaboutdialog.ui @@ -2,6 +2,9 @@